<%@page contentType="text/html" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Quản Lý Đơn Hàng</title>
<link href="styles.css" rel="stylesheet" type="text/css">
</head>
<body>
<%-- <jsp:useBean id="listallhd" scope = "session" class = "controler.admintimorder" /> --%>
<%-- <%listallhd.loadorder(request, response); %> --%>
<div class="admin-table">
            <h2>Thông Tin Đơn Hàng</h2>
              <table class="table-bordered">
             <thead>
	<tr>
         <th>Mã Hóa Đơn</th>
         <th>Khách hàng</th>
         <th>Tên sản phẩm</th>
         <th>Số lượng</th>
         <th>Đơn giá</th>
         <th>Trạng thái</th>
    </tr>
    </thead>
         <tbody style="border: 1px solid #333;">
             <c:forEach items="${listallhd}" var="listallhd" >
                 <tr style="border: 1px solid #333;">
                     <td>${listallhd.mahd}</td>
                     <td>${listallhd.hoten}</td>
                     <td>${listallhd.tensp}</td>
                     <td>${listallhd.soluong}</td>
                     <td>${listallhd.dongia}</td>
                     <td>${listallhd.trangthai}</td>
                 </tr>
             </c:forEach>
         </tbody>
	</table>
	</div>
<jsp:include page="admin-header.jsp" />
	<form class="tknc" id="themdm" method = "post" action="admintimorder">
	<div class="login-header">
			<span>Mã Hóa Đơn</span>
	</div>
	<div class="login-content">
	 <input type = "text" name = "mahd" required>
	<input type = "submit" value = "Search">
	</div>
	</form>
</body>
</html>